package com.hzlx.badGoods.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 待处理残次品对象 mes_bad_goods
 * 
 * @author ruoyi
 * @date 2025-07-07
 */
public class MesBadGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "产品ID", readConverterExp = "$column.readConverterExp()")
    private Long productId;

    /** $column.columnComment */
    @Excel(name = "工序ID", readConverterExp = "$column.readConverterExp()")
    private Long operationId;

    /** $column.columnComment */
    @Excel(name = "问题描述", readConverterExp = "$column.readConverterExp()")
    private String problemDes;

    /** $column.columnComment */
    @Excel(name = "提供者", readConverterExp = "$column.readConverterExp()")
    private String supplyer;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }

    public void setOperationId(Long operationId) 
    {
        this.operationId = operationId;
    }

    public Long getOperationId() 
    {
        return operationId;
    }

    public void setProblemDes(String problemDes) 
    {
        this.problemDes = problemDes;
    }

    public String getProblemDes() 
    {
        return problemDes;
    }

    public void setSupplyer(String supplyer) 
    {
        this.supplyer = supplyer;
    }

    public String getSupplyer() 
    {
        return supplyer;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productId", getProductId())
            .append("operationId", getOperationId())
            .append("problemDes", getProblemDes())
            .append("supplyer", getSupplyer())
            .toString();
    }
}
